package cn.iocoder.yudao.module.trade.controller.admin.ordersafetychecktemplateitem.vo;

import cn.iocoder.yudao.module.trade.controller.admin.ordersafetycheckterm.vo.OrderSafetyCheckTermSaveReqVO;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 安全检查明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrderSafetyCheckTemplateItemRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28461")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "安检服务id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27079")
    @ExcelProperty("安检服务id")
    private Long templateId;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("标题")
    private String title;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    private Integer sort;

    private Integer idIndex;

    private String name;

    @Schema(description = "安检项详情")
    private List<OrderSafetyCheckTermSaveReqVO> termSaveReqVOList;
}